package com.mijie.homi.common.constant;

public interface HomiConstants {

	public String[] IMAGE_SUFFIX = {"jpg","png"};
	public String[] VOICE_SUFFIX = {"amr"};
	public int VOICE_MAX_SIZE = 1024*1024*5;
	public int IMAGE_MAX_SIZE = 1024*1024*5;
	
	public int MESSAGE_ROUTER_PORT = 8810;
	
	public int HOMI_SOCKET_SERVER = 1;
	public int HOMI_WEBSOCKET_SERVER = 2;
	
	public int PROTOCOL_HEAD_LENGTH = 4;
	public int PROTOCOL_TYPE_LENGTH = 2;
	public int PROTOCOL_ID_LENGTH = 4;
	public int PROTOCOL_CONTENT_LENGTH = 4;
	
	public int MESSAGE_HEAD_LENGTH = 4;
	
	public int PRIVACY_ACCESSIBLE_CONTACT = 1;
	public int PRIVACY_ACCESSIBLE_STRANGER = 10;
	
	public int MAX_WORD_MOOD_SHARE = 400;
	public int MAX_WORD_COMMENT = 70;
	public int MAX_WORD_REPLY = 70;
	public int MAX_WORD_SIGNATURE = 70;
	public int MAX_WORD_PHOTO_DESCRIBE = 100;
	public int MAX_WORD_OPINION = 140;
	public int MAX_LENGTH_NICKNAME = 15;
	
	public int NEARBY_MOOD_FILTER_ALL = 0;
	public int NEARBY_MOOD_FILTER_ONLY_MALE = 1;
	public int NEARBY_MOOD_FILTER_ONLY_FEMALE = 2;
	
	
	public int MOOD_VISIBILITY_ALL = 1;
	public int MOOD_VISIBILITY_FRIENDS = 2;
	public int MOOD_VISIBILITY_PRIVATE = 3;
	
}
